package com.lagou.service;

import com.lagou.domain.Course;
import com.lagou.domain.CourseSection;
import com.lagou.domain.CourseVo;

import java.util.List;

public interface CourseService {
    public abstract List<Course> findAll();
    public abstract List<Course> findCourseByCondition(CourseVo courseVo);
    public abstract void saveCourseAndTeacher(CourseVo courseVo);
    public abstract CourseVo findCourseById(int id);
    public abstract void updateCourseAndTeacher(CourseVo courseVo);
    public abstract void updateCourseStatus(int id, int status);

    public abstract List<CourseSection> findSectionAndLessonByCourseId(int courseId);
}
